<template>
  <div class="index">
    <Hader class="topbox" />
    <Navw class="leftbox" />

    <div class="rightbox">
      <div class="box">
        <Content />
        <router-view></router-view>
      </div>
      <div class="bottom">
        <p>
          <strong>Copyright © 2016-2019</strong>
          <span style="color: #409eff; margin-left: 10px">叩丁狼</span> . All
          rights reserved.
        </p>
        <p><strong>Version</strong> 1.0.0</p>
      </div>
    </div>
  </div>
</template>
 
<script>
import Hader from "./indexchild/Hader";
import Navw from "./indexchild/Navw";
import Content from "./indexchild/Content";
export default {
  data() {
    return {};
  },
  components: {
    Hader,
    Navw,
    Content,
  },
};
</script>
 
<style lang = "less" scoped>
.index {
  position: relative;
  .topbox {
    position: fixed;
    top: 0;
    left: 0;
  }
  .leftbox {
    position: fixed;
    top: 71px;
    left: 0;
    bottom: 0;
    width: 10%;
    background-color: #545c64;
  }
  .rightbox {
    position: fixed;
    top: 71px;
    left: 10%;
    background-color: #f0f0f0;
    width: 90%;
    height: 95%;
    padding: 20px 10px;
    box-sizing: border-box;
    .box {
      background-color: #fff;
      width: 100%;
      height: 96%;
      padding: 10px;
      box-sizing: border-box;
    }
    .bottom {
      display: flex;
      justify-content: space-between;
      padding: 5px;
      font-size: 14px;
    }
  }
}
</style>